# -*- coding:utf-8 -*-
from rest_framework import serializers
from apps.comment.models import Comment


class CommentSerializer(serializers.ModelSerializer):
    create_time = serializers.DateTimeField(format='%Y-%m-%d')

    class Meta:
        model = Comment
        fields = '__all__'
